package packets.s2cpackets;

import entities.Player;
import packets.SPacket;

/**
 * Player look and position.
 */
public class S0x0D extends SPacket {
	public S0x0D(Player player) {
		super(0x0d);
		
		addDouble(player.location().x);		//X
		addDouble(player.location().y);		//Y
		addDouble(player.location().x);		//STANCE
		addDouble(player.location().z);		//Z
		
		//TODO
		addFloat(0);							// YAW
		addFloat(0);							// Pitch
		add((byte) 0x00);						// On Ground
	}

}
